FUNCTION PMMonitorUserActivity(minutesIdle: UInt32; VAR howToNotifyIdle: KernelNotification; VAR howToNotifyResume: KernelNotification; VAR newRef: PMUserMonitorRef): OSStatus; C;
FUNCTION PMCancelMonitoring(refToCancel: PMUserMonitorRef): OSStatus; C;